package com.snpic.appaw.module.third.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author JiJun
 * @date 2025/9/16 17:54
 * @修改时间 2025/9/16 17:54
 * @description 报价平台接口所需配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "third-party.bjpt")
public class BJPTConfig {
	// 嵌套配置类
	private CarInfoInquirySn carInfoInquirySn;
	private CarModelInfoInquiry carModelInfoInquiry;
	private QueryHisPolicyDetail queryHisPolicyDetail;

	@Data
	public static class CarInfoInquirySn {
		private String url;
	}

	@Data
	public static class CarModelInfoInquiry {
		//车辆车型查询
		private String url;
	}

	@Data
	public static class QueryHisPolicyDetail{
		//历史保单查询
		private String url;
	}

}
